x86: don't limit dom0's maximum reservation by the available memory
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 24 Aug 2011 08:33:10 +0000 (09:33 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 24 Aug 2011 08:33:10 +0000 (09:33 +0100)
commite675405f3a70c6497596b4060ee2805e787a4b90
treef9917f1f57f32e4adcba2a2c8cc6387ad22e5bec
parent91326b5491174ff4cbd36a98367b1bc7c378bd29
x86: don't limit dom0's maximum reservation by the available memory

Set dom0's initial maximum reservation using the max value supplied in
the dom0_mem command line option without limiting it by the available
memory.

This allows dom0 to make use of any hotplugged memory without having
to also adjust the maximum reservation.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/domain_build.c